package com.citycloud.ccuap.tc.admin.clientresourceinterfacerel;

import com.citycloud.ccuap.framework.service.mybatis.IMybatisService;
import com.citycloud.ccuap.tc.admin.entity.SysClientResourceInterfaceRel;

import java.util.List;
import java.util.Map;

/**
 * 应用资源接口关联业务处理接口
 * @author zhusr
 *
 */
public interface IClientResourceInterfaceRelService extends IMybatisService<SysClientResourceInterfaceRel, Long> {
    /**
     * 根据资源id保存关联接口信息，先删除关联的接口信息，再批量保存
     * @param sysClientResourceInterfaceRels
     * @param resourceId
     */
    void saveSysClientResourceInterfaceRels(List<SysClientResourceInterfaceRel> sysClientResourceInterfaceRels, String resourceId);

    List<Map<String, Object>> queryAll(String resourceId);
}